Reference

basic_streambuf

protected member function
<streambuf> <iostream>

std::basic_streambuf::pbump

void pbump (int n);
Increase put pointer
Adds n to the put pointer.

The put pointer (pptr ) is the internal pointer that points to the current location in the array with the buffered portion of the controlled output sequence.

Parameters

n
Value by which to increase the put pointer.
This shall be a value such that pptr()+n is in the range between pbase and epptr .

Return Value

none

Data races

Modifies the stream buffer object.
Concurrent access to the same stream buffer object may cause data races.

Exception safety

Basic guarantee: if an exception is thrown, the stream buffer is in a valid state.

Invalid arguments cause undefined behavior.

See also

basic_streambuf::setp
Set output sequence pointers (protected member function)
basic_streambuf::pptr
Pointer to current position of output sequence (protected member function)

AltStyle によって変換されたページ (->オリジナル) /